Optimal. Leaf size=198 \[ \frac {8 \sqrt [4]{-1} a^3 (A-i B) \text {ArcTan}\left ((-1)^{3/4} \sqrt {\tan (c+d x)}\right )}{d}+\frac {8 a^3 (A-i B) \sqrt {\tan (c+d x)}}{d}+\frac {8 a^3 (i A+B) \tan ^{\frac {3}{2}}(c+d x)}{3 d}-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.32, antiderivative size = 198, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.139, Rules used = {3675, 3673,
3609, 3614, 211} \begin {gather*} \frac {8 \sqrt [4]{-1} a^3 (A-i B) \text {ArcTan}\left ((-1)^{3/4} \sqrt {\tan (c+d x)}\right )}{d}-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {8 a^3 (B+i A) \tan ^{\frac {3}{2}}(c+d x)}{3 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}+\frac {8 a^3 (A-i B) \sqrt {\tan (c+d x)}}{d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 3609
Rule 3614
Rule 3673
Rule 3675
Rubi steps
\begin {align*} \int \tan ^{\frac {3}{2}}(c+d x) (a+i a \tan (c+d x))^3 (A+B \tan (c+d x)) \, dx &=\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}+\frac {2}{9} \int \tan ^{\frac {3}{2}}(c+d x) (a+i a \tan (c+d x))^2 \left (\frac {1}{2} a (9 A-5 i B)+\frac {1}{2} a (9 i A+13 B) \tan (c+d x)\right ) \, dx\\ &=\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}+\frac {4}{63} \int \tan ^{\frac {3}{2}}(c+d x) (a+i a \tan (c+d x)) \left (a^2 (27 A-25 i B)+2 a^2 (18 i A+19 B) \tan (c+d x)\right ) \, dx\\ &=-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}+\frac {4}{63} \int \tan ^{\frac {3}{2}}(c+d x) \left (63 a^3 (A-i B)+63 a^3 (i A+B) \tan (c+d x)\right ) \, dx\\ &=\frac {8 a^3 (i A+B) \tan ^{\frac {3}{2}}(c+d x)}{3 d}-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}+\frac {4}{63} \int \sqrt {\tan (c+d x)} \left (-63 a^3 (i A+B)+63 a^3 (A-i B) \tan (c+d x)\right ) \, dx\\ &=\frac {8 a^3 (A-i B) \sqrt {\tan (c+d x)}}{d}+\frac {8 a^3 (i A+B) \tan ^{\frac {3}{2}}(c+d x)}{3 d}-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}+\frac {4}{63} \int \frac {-63 a^3 (A-i B)-63 a^3 (i A+B) \tan (c+d x)}{\sqrt {\tan (c+d x)}} \, dx\\ &=\frac {8 a^3 (A-i B) \sqrt {\tan (c+d x)}}{d}+\frac {8 a^3 (i A+B) \tan ^{\frac {3}{2}}(c+d x)}{3 d}-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}+\frac {\left (504 a^6 (A-i B)^2\right ) \text {Subst}\left (\int \frac {1}{-63 a^3 (A-i B)+63 a^3 (i A+B) x^2} \, dx,x,\sqrt {\tan (c+d x)}\right )}{d}\\ &=\frac {8 \sqrt [4]{-1} a^3 (A-i B) \tan ^{-1}\left ((-1)^{3/4} \sqrt {\tan (c+d x)}\right )}{d}+\frac {8 a^3 (A-i B) \sqrt {\tan (c+d x)}}{d}+\frac {8 a^3 (i A+B) \tan ^{\frac {3}{2}}(c+d x)}{3 d}-\frac {16 a^3 (18 A-19 i B) \tan ^{\frac {5}{2}}(c+d x)}{315 d}+\frac {2 i a B \tan ^{\frac {5}{2}}(c+d x) (a+i a \tan (c+d x))^2}{9 d}-\frac {2 (9 A-13 i B) \tan ^{\frac {5}{2}}(c+d x) \left (a^3+i a^3 \tan (c+d x)\right )}{63 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice
the leaf count of optimal. \(496\) vs. \(2(198)=396\).
time = 8.04, size = 496, normalized size = 2.51 \begin {gather*} -\frac {8 (A-i B) e^{-3 i c} \sqrt {-\frac {i \left (-1+e^{2 i (c+d x)}\right )}{1+e^{2 i (c+d x)}}} \tanh ^{-1}\left (\sqrt {\frac {-1+e^{2 i (c+d x)}}{1+e^{2 i (c+d x)}}}\right ) \cos ^4(c+d x) (a+i a \tan (c+d x))^3 (A+B \tan (c+d x))}{d \sqrt {\frac {-1+e^{2 i (c+d x)}}{1+e^{2 i (c+d x)}}} (\cos (d x)+i \sin (d x))^3 (A \cos (c+d x)+B \sin (c+d x))}+\frac {\cos ^4(c+d x) \left (\sec (c) (1449 A \cos (c)-1547 i B \cos (c)+465 i A \sin (c)+555 B \sin (c)) \left (\frac {2}{315} \cos (3 c)-\frac {2}{315} i \sin (3 c)\right )+\sec (c) \sec ^2(c+d x) (189 A \cos (c)-322 i B \cos (c)+45 i A \sin (c)+135 B \sin (c)) \left (-\frac {2}{315} \cos (3 c)+\frac {2}{315} i \sin (3 c)\right )+\sec ^4(c+d x) \left (-\frac {2}{9} i B \cos (3 c)-\frac {2}{9} B \sin (3 c)\right )+\sec (c) \sec ^3(c+d x) \left (\frac {2}{7} \cos (3 c)-\frac {2}{7} i \sin (3 c)\right ) (-i A \sin (d x)-3 B \sin (d x))+\sec (c) \sec (c+d x) \left (\frac {2}{21} \cos (3 c)-\frac {2}{21} i \sin (3 c)\right ) (31 i A \sin (d x)+37 B \sin (d x))\right ) \sqrt {\tan (c+d x)} (a+i a \tan (c+d x))^3 (A+B \tan (c+d x))}{d (\cos (d x)+i \sin (d x))^3 (A \cos (c+d x)+B \sin (c+d x))} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 299, normalized size = 1.51
method | result | size |
derivativedivides | \(\frac {a^{3} \left (-\frac {2 i B \left (\tan ^{\frac {9}{2}}\left (d x +c \right )\right )}{9}-\frac {2 i A \left (\tan ^{\frac {7}{2}}\left (d x +c \right )\right )}{7}-\frac {6 B \left (\tan ^{\frac {7}{2}}\left (d x +c \right )\right )}{7}+\frac {8 i B \left (\tan ^{\frac {5}{2}}\left (d x +c \right )\right )}{5}-\frac {6 A \left (\tan ^{\frac {5}{2}}\left (d x +c \right )\right )}{5}+\frac {8 i A \left (\tan ^{\frac {3}{2}}\left (d x +c \right )\right )}{3}+\frac {8 B \left (\tan ^{\frac {3}{2}}\left (d x +c \right )\right )}{3}-8 i B \left (\sqrt {\tan }\left (d x +c \right )\right )+8 A \left (\sqrt {\tan }\left (d x +c \right )\right )+\frac {\left (4 i B -4 A \right ) \sqrt {2}\, \left (\ln \left (\frac {1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}{1-\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}\right )+2 \arctan \left (1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )+2 \arctan \left (-1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )\right )}{4}+\frac {\left (-4 i A -4 B \right ) \sqrt {2}\, \left (\ln \left (\frac {1-\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}{1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}\right )+2 \arctan \left (1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )+2 \arctan \left (-1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )\right )}{4}\right )}{d}\) | \(299\) |
default | \(\frac {a^{3} \left (-\frac {2 i B \left (\tan ^{\frac {9}{2}}\left (d x +c \right )\right )}{9}-\frac {2 i A \left (\tan ^{\frac {7}{2}}\left (d x +c \right )\right )}{7}-\frac {6 B \left (\tan ^{\frac {7}{2}}\left (d x +c \right )\right )}{7}+\frac {8 i B \left (\tan ^{\frac {5}{2}}\left (d x +c \right )\right )}{5}-\frac {6 A \left (\tan ^{\frac {5}{2}}\left (d x +c \right )\right )}{5}+\frac {8 i A \left (\tan ^{\frac {3}{2}}\left (d x +c \right )\right )}{3}+\frac {8 B \left (\tan ^{\frac {3}{2}}\left (d x +c \right )\right )}{3}-8 i B \left (\sqrt {\tan }\left (d x +c \right )\right )+8 A \left (\sqrt {\tan }\left (d x +c \right )\right )+\frac {\left (4 i B -4 A \right ) \sqrt {2}\, \left (\ln \left (\frac {1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}{1-\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}\right )+2 \arctan \left (1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )+2 \arctan \left (-1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )\right )}{4}+\frac {\left (-4 i A -4 B \right ) \sqrt {2}\, \left (\ln \left (\frac {1-\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}{1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )+\tan \left (d x +c \right )}\right )+2 \arctan \left (1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )+2 \arctan \left (-1+\sqrt {2}\, \left (\sqrt {\tan }\left (d x +c \right )\right )\right )\right )}{4}\right )}{d}\) | \(299\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 234, normalized size = 1.18 \begin {gather*} -\frac {70 i \, B a^{3} \tan \left (d x + c\right )^{\frac {9}{2}} + 90 \, {\left (i \, A + 3 \, B\right )} a^{3} \tan \left (d x + c\right )^{\frac {7}{2}} + 126 \, {\left (3 \, A - 4 i \, B\right )} a^{3} \tan \left (d x + c\right )^{\frac {5}{2}} + 840 \, {\left (-i \, A - B\right )} a^{3} \tan \left (d x + c\right )^{\frac {3}{2}} - 2520 \, {\left (A - i \, B\right )} a^{3} \sqrt {\tan \left (d x + c\right )} + 315 \, {\left (2 \, \sqrt {2} {\left (\left (i + 1\right ) \, A - \left (i - 1\right ) \, B\right )} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, \sqrt {\tan \left (d x + c\right )}\right )}\right ) + 2 \, \sqrt {2} {\left (\left (i + 1\right ) \, A - \left (i - 1\right ) \, B\right )} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, \sqrt {\tan \left (d x + c\right )}\right )}\right ) - \sqrt {2} {\left (\left (i - 1\right ) \, A + \left (i + 1\right ) \, B\right )} \log \left (\sqrt {2} \sqrt {\tan \left (d x + c\right )} + \tan \left (d x + c\right ) + 1\right ) + \sqrt {2} {\left (\left (i - 1\right ) \, A + \left (i + 1\right ) \, B\right )} \log \left (-\sqrt {2} \sqrt {\tan \left (d x + c\right )} + \tan \left (d x + c\right ) + 1\right )\right )} a^{3}}{315 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 561 vs. \(2 (158) = 316\).
time = 2.98, size = 561, normalized size = 2.83 \begin {gather*} -\frac {2 \, {\left (315 \, \sqrt {-\frac {{\left (i \, A^{2} + 2 \, A B - i \, B^{2}\right )} a^{6}}{d^{2}}} {\left (d e^{\left (8 i \, d x + 8 i \, c\right )} + 4 \, d e^{\left (6 i \, d x + 6 i \, c\right )} + 6 \, d e^{\left (4 i \, d x + 4 i \, c\right )} + 4 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )} \log \left (-\frac {2 \, {\left ({\left (A - i \, B\right )} a^{3} e^{\left (2 i \, d x + 2 i \, c\right )} + \sqrt {-\frac {{\left (i \, A^{2} + 2 \, A B - i \, B^{2}\right )} a^{6}}{d^{2}}} {\left (i \, d e^{\left (2 i \, d x + 2 i \, c\right )} + i \, d\right )} \sqrt {\frac {-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}\right )} e^{\left (-2 i \, d x - 2 i \, c\right )}}{{\left (-i \, A - B\right )} a^{3}}\right ) - 315 \, \sqrt {-\frac {{\left (i \, A^{2} + 2 \, A B - i \, B^{2}\right )} a^{6}}{d^{2}}} {\left (d e^{\left (8 i \, d x + 8 i \, c\right )} + 4 \, d e^{\left (6 i \, d x + 6 i \, c\right )} + 6 \, d e^{\left (4 i \, d x + 4 i \, c\right )} + 4 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )} \log \left (-\frac {2 \, {\left ({\left (A - i \, B\right )} a^{3} e^{\left (2 i \, d x + 2 i \, c\right )} + \sqrt {-\frac {{\left (i \, A^{2} + 2 \, A B - i \, B^{2}\right )} a^{6}}{d^{2}}} {\left (-i \, d e^{\left (2 i \, d x + 2 i \, c\right )} - i \, d\right )} \sqrt {\frac {-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}\right )} e^{\left (-2 i \, d x - 2 i \, c\right )}}{{\left (-i \, A - B\right )} a^{3}}\right ) - 2 \, {\left ({\left (957 \, A - 1051 i \, B\right )} a^{3} e^{\left (8 i \, d x + 8 i \, c\right )} + 5 \, {\left (579 \, A - 547 i \, B\right )} a^{3} e^{\left (6 i \, d x + 6 i \, c\right )} + 21 \, {\left (171 \, A - 173 i \, B\right )} a^{3} e^{\left (4 i \, d x + 4 i \, c\right )} + 5 \, {\left (429 \, A - 433 i \, B\right )} a^{3} e^{\left (2 i \, d x + 2 i \, c\right )} + 4 \, {\left (123 \, A - 124 i \, B\right )} a^{3}\right )} \sqrt {\frac {-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}\right )}}{315 \, {\left (d e^{\left (8 i \, d x + 8 i \, c\right )} + 4 \, d e^{\left (6 i \, d x + 6 i \, c\right )} + 6 \, d e^{\left (4 i \, d x + 4 i \, c\right )} + 4 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - i a^{3} \left (\int \left (- 3 A \tan ^{\frac {5}{2}}{\left (c + d x \right )}\right )\, dx + \int A \tan ^{\frac {9}{2}}{\left (c + d x \right )}\, dx + \int \left (- 3 B \tan ^{\frac {7}{2}}{\left (c + d x \right )}\right )\, dx + \int B \tan ^{\frac {11}{2}}{\left (c + d x \right )}\, dx + \int i A \tan ^{\frac {3}{2}}{\left (c + d x \right )}\, dx + \int \left (- 3 i A \tan ^{\frac {7}{2}}{\left (c + d x \right )}\right )\, dx + \int i B \tan ^{\frac {5}{2}}{\left (c + d x \right )}\, dx + \int \left (- 3 i B \tan ^{\frac {9}{2}}{\left (c + d x \right )}\right )\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.18, size = 194, normalized size = 0.98 \begin {gather*} \frac {\left (4 i - 4\right ) \, \sqrt {2} {\left (i \, A a^{3} + B a^{3}\right )} \arctan \left (-\left (\frac {1}{2} i - \frac {1}{2}\right ) \, \sqrt {2} \sqrt {\tan \left (d x + c\right )}\right )}{d} - \frac {2 \, {\left (35 i \, B a^{3} d^{8} \tan \left (d x + c\right )^{\frac {9}{2}} + 45 i \, A a^{3} d^{8} \tan \left (d x + c\right )^{\frac {7}{2}} + 135 \, B a^{3} d^{8} \tan \left (d x + c\right )^{\frac {7}{2}} + 189 \, A a^{3} d^{8} \tan \left (d x + c\right )^{\frac {5}{2}} - 252 i \, B a^{3} d^{8} \tan \left (d x + c\right )^{\frac {5}{2}} - 420 i \, A a^{3} d^{8} \tan \left (d x + c\right )^{\frac {3}{2}} - 420 \, B a^{3} d^{8} \tan \left (d x + c\right )^{\frac {3}{2}} - 1260 \, A a^{3} d^{8} \sqrt {\tan \left (d x + c\right )} + 1260 i \, B a^{3} d^{8} \sqrt {\tan \left (d x + c\right )}\right )}}{315 \, d^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 10.95, size = 327, normalized size = 1.65 \begin {gather*} \frac {8\,A\,a^3\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}}{d}+\frac {A\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{3/2}\,8{}\mathrm {i}}{3\,d}-\frac {6\,A\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{5/2}}{5\,d}-\frac {A\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{7/2}\,2{}\mathrm {i}}{7\,d}-\frac {B\,a^3\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,8{}\mathrm {i}}{d}+\frac {8\,B\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{3/2}}{3\,d}+\frac {B\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{5/2}\,8{}\mathrm {i}}{5\,d}-\frac {6\,B\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{7/2}}{7\,d}-\frac {B\,a^3\,{\mathrm {tan}\left (c+d\,x\right )}^{9/2}\,2{}\mathrm {i}}{9\,d}+\frac {\sqrt {2}\,A\,a^3\,\ln \left (-A\,a^3\,d\,8{}\mathrm {i}+\sqrt {2}\,A\,a^3\,d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,\left (-4+4{}\mathrm {i}\right )\right )\,\left (2-2{}\mathrm {i}\right )}{d}-\frac {\sqrt {-16{}\mathrm {i}}\,A\,a^3\,\ln \left (-A\,a^3\,d\,8{}\mathrm {i}+2\,\sqrt {-16{}\mathrm {i}}\,A\,a^3\,d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\right )}{d}+\frac {\sqrt {2}\,B\,a^3\,\ln \left (-8\,B\,a^3\,d+\sqrt {2}\,B\,a^3\,d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,\left (-4-4{}\mathrm {i}\right )\right )\,\left (2+2{}\mathrm {i}\right )}{d}-\frac {\sqrt {16{}\mathrm {i}}\,B\,a^3\,\ln \left (-8\,B\,a^3\,d+2\,\sqrt {16{}\mathrm {i}}\,B\,a^3\,d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________